package com.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;


/**
 * The persistent class for the CHANCEBASEDATA database table.
 * 
 */
@Entity
@NamedQuery(name="Chancebasedata.findAll", query="SELECT c FROM Chancebasedata c")
public class Chancebasedata implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="CHANCEBASEDATA_CBDID_GENERATOR", sequenceName="SEQ",initialValue=1,allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CHANCEBASEDATA_CBDID_GENERATOR")
	private long cbdid;

	private String content;

	@Column(name="\"default\"")
	private BigDecimal default_;

	private BigDecimal enabled;

	private BigDecimal logic;

	@Column(name="\"SORT\"")
	private BigDecimal sort;

	private BigDecimal which;

	public Chancebasedata() {
	}

	public long getCbdid() {
		return this.cbdid;
	}

	public void setCbdid(long cbdid) {
		this.cbdid = cbdid;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public BigDecimal getDefault_() {
		return this.default_;
	}

	public void setDefault_(BigDecimal default_) {
		this.default_ = default_;
	}

	public BigDecimal getEnabled() {
		return this.enabled;
	}

	public void setEnabled(BigDecimal enabled) {
		this.enabled = enabled;
	}

	public BigDecimal getLogic() {
		return this.logic;
	}

	public void setLogic(BigDecimal logic) {
		this.logic = logic;
	}

	public BigDecimal getSort() {
		return this.sort;
	}

	public void setSort(BigDecimal sort) {
		this.sort = sort;
	}

	public BigDecimal getWhich() {
		return this.which;
	}

	public void setWhich(BigDecimal which) {
		this.which = which;
	}

}